package com.qf.work0625.entity;


public class CandidateVoteCount {
    private String candidateName;
    private int totalnum;

    public CandidateVoteCount(String candidateName, int totalnum) {
        this.candidateName = candidateName;
        this.totalnum = totalnum;
    }

    public String getCandidateName() {
        return candidateName;
    }

    public int getTotalnum() {
        return totalnum;
    }

    @Override
    public String toString() {
        return "{\"candidateName\":\"" + candidateName + "\",\"totalnum\":" + totalnum + "}";
    }
}
